const Mock = require('mockjs')

const data = Mock.mock({
    "list|900-1000": [{
        "img|4-6": ["@image(100x100, @color)"],
        title: "@ctitle(6,10)",
        "price|100-2000": 1,
        id: "@id",
        "type|0-4": 1,
        number: 0
    }]
})

const userList = [
    {
        username: '张三',
        password: '123'
    },
    {
        username: '李四',
        password: '123'
    }
]


module.exports = {
    data: data.list,
    userList
}